package com.example.sprintbootarithmetic.DataStructure.stack;

public class StackDemo {
    public static void main(String[] args) {
        ArrayStack array = new ArrayStack(10);
        array.push(20);
        array.push(30);
        array.push(40);
        array.push(40);
        array.push(40);
        array.push(40);
        array.push(40);
        array.push(40);
        array.push(40);
        array.push(40);
        array.push(40);
        array.listall();
    }
}
